package com.macro.mall.dao.oms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.oms.OmsCompanyAddressDO;
import com.macro.mall.model.oms.OmsCompanyAddressQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OmsCompanyAddressMapper  extends BaseMapper<OmsCompanyAddressDO> {
    long countByExample(OmsCompanyAddressQuery example);

    int deleteByExample(OmsCompanyAddressQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(OmsCompanyAddressDO record);

    int insertSelective(OmsCompanyAddressDO record);

    List<OmsCompanyAddressDO> selectByExample(OmsCompanyAddressQuery example);

    OmsCompanyAddressDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OmsCompanyAddressDO record, @Param("example") OmsCompanyAddressQuery example);

    int updateByExample(@Param("record") OmsCompanyAddressDO record, @Param("example") OmsCompanyAddressQuery example);

    int updateByPrimaryKeySelective(OmsCompanyAddressDO record);

    int updateByPrimaryKey(OmsCompanyAddressDO record);
}
